﻿using MappingDTO.Admin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ToolsModel;

namespace BackendLogic
{
    /// <summary>
    /// 菜单操作接口
    /// </summary>
    public interface ISysMenuService
    {
        /// <summary>
        /// 获取角色可操作菜单
        /// </summary>
        /// <returns></returns>
        ResultJsonInfo<IList<SysMenuRetDTO>> LoadMenus();

        /// <summary>
        /// 获取所有的可操作菜单
        /// </summary>
        /// <returns></returns>
        ResultJsonInfo<IList<SysMenuRetDTO>> LoadAllMenus();


        ///// <summary>
        ///// 获取所有可操作菜单和菜单下的按钮
        ///// </summary>
        ///// <returns></returns>
        //ResultJsonInfo<IList<SysMenuEntity>> loadAllMenuAndButtons();

        ///// <summary>
        ///// 获取所有可操作菜单和菜单下的按钮 及 该角色可操作功能
        ///// </summary>
        ///// <param name="parametersInfo"></param>
        ///// <returns></returns>
        //ResultJsonInfo<IList<SysMenuEntity>> loadMenuAndButtonsByRoleCode(ParametersInfo parametersInfo);

        ///// <summary>
        ///// 根据菜单节点code获取菜单下的按钮信息
        ///// </summary>
        ///// <returns></returns>

        //ResultJsonInfo<IList<SysButtonEntity>> loadButtons(ParametersInfo parametersInfo);

        ///// <summary>
        ///// 保存信息
        ///// </summary>
        ///// <returns></returns>
        //ResultJsonInfo<int> save(ParametersInfo parametersInfo);

        ///// <summary>
        ///// 批量删除菜单信息
        ///// </summary>
        ///// <param name="parametersInfo"></param>
        ///// <returns></returns>
        //ResultJsonInfo<int> batchRemove(ParametersInfo parametersInfo);

        ///// <summary>
        ///// 移动功能
        ///// </summary>
        ///// <param name="parametersInfo"></param>
        ///// <returns></returns>
        //ResultJsonInfo<int> move(ParametersInfo parametersInfo);
    }
}
